<?php

namespace App\Http\Requests\Api\v1;

use App\Models\Configuration;

class CouponRequest extends FormRequest
{
    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules(): array
    {
        switch ($this->method()) {
            case 'POST':
                return [
                    'coupon_config_id' => 'required|numeric|int|gt:0',
                ];
                break;
        }
    }

}
